package org.zfes.snowier.zbss.xzy.biz.config.model;
import org.zfes.snowier.core.data.IBaseModel;
public class ConfigCate extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public ConfigCate() {}
	public ConfigCate(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

	@org.hibernate.validator.constraints.Length(min=0,max=100,message="配置类别名称长度不能大于100")
	  private java.lang.String name;
	@org.hibernate.validator.constraints.Length(min=0,max=100,message="备注长度不能大于100")
	  private java.lang.String remark;
	  private java.lang.Byte status;
	  private java.util.Date createTime;
	  private java.util.Date updateTime;
	@org.hibernate.validator.constraints.Length(min=0,max=100,message="备注长度不能大于100")
	  private java.lang.String version;
	 private java.lang.Byte type;
	 
	//<-------------------------------------------->
	public ConfigCate setName(java.lang.String name){
		this.name=name==null?null:name.trim();
	 return this;
	}
	public java.lang.String getName(){
		return this.name;
	}
	public ConfigCate setRemark(java.lang.String remark){
		this.remark=remark==null?null:remark.trim();
	 return this;
	}
	public java.lang.String getRemark(){
		return this.remark;
	}
	public ConfigCate setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public ConfigCate setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}
	public ConfigCate setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}
	public ConfigCate setVersion(java.lang.String version){
		this.version=version==null?null:version.trim();
	 return this;
	}
	public java.lang.String getVersion(){
		return this.version;
	}
	public java.lang.Byte getType() {
		return type;
	}
	public ConfigCate setType(java.lang.Byte type) {
		this.type = type;
		 return this;
	}
	@Override
	public String toString() {
		return "ConfigCate [name=" + name + ", remark=" + remark + ", status=" + status + ", createTime=" + createTime
				+ ", updateTime=" + updateTime + ", version=" + version + ", type=" + type + "]";
	}
	

}
